//
//  MLAFoodHomeListCell.m
//  MagicLampApp
//
//  Created by Zheng on 2019/4/4.
//  Copyright © 2019 zheng.magic.lamp.app. All rights reserved.
//

#import "MLAFoodHomeListCell.h"

@implementation MLAFoodHomeListCell

- (void)setModel:(MLAFoodHomeListModel *)model {
    _model = model;
    
    [_shopImgv sd_setImageWithURL:[NSURL URLWithString:_model.shop_logo]];
    _nameLbl.text = _model.shop_name;
    _priceLbl.text = [NSString stringWithFormat:@"人均%@ ¥",_model.person_average];
    _typeLbl.text = _model.shop_type_name;
    
}

- (void)awakeFromNib {
    [super awakeFromNib];

    _shopImgv.layer.cornerRadius = 5;
    _shopImgv.layer.masksToBounds = YES;
}


@end
